import request from '@/utils/request'

export function listOrders(query) {
  return request({
    url: '/store/orders/list',
    method: 'get',
    params: query
  })
  
}
export function getOrders(id) {
  return request({
    url: '/store/orders/' + id,
    method: 'get'
  })
}

export function listDetail(query) {
  return request({
    url: '/store/detail/list',
    method: 'get',
    params: query
  })
}
